package com.site.wisdom_construction.entity.publicModule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description  
 * @Author  DYF
 * @Date 2021-12-29 
 */

@ApiModel (value ="工种表实体类",description = "Profession")
public class Profession {
	/**
	 * 工种id
	 */
   	@ApiModelProperty(value = "工种id", name = "id")
	private Integer id;

	/**
	 * 工种名称
	 */
   	@ApiModelProperty(value = "工种名称", name = "professionName")
	private String professionName;

	/**
	 * 状态(0:不可用 1:可用)
	 */
   	@ApiModelProperty(value = "状态(0:不可用 1:可用)", name = "status")
	private String status;

	public Profession(){ super(); }

	public Profession(Integer id, String professionName, String status) {
		this.id = id;
		this.professionName = professionName;
		this.status = status;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getProfessionName() {
		return this.professionName;
	}

	public void setProfessionName(String professionName) {
		this.professionName = professionName;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "{" +
				", id='" + id + '\'' +
				", professionName='" + professionName + '\'' +
				", status='" + status + '\'' +
				'}';
	}
}
